package com.bulkmail.sender;

import java.io.File;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {

	public void send() {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"/main/resources/file.xml");
		MailMail mm = (MailMail) context.getBean("mailMail");
		mm.sendMail("Marius", "This is bullshit !!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
	}
}
